FROM java:8
ADD target/demo-0.0.1-SNAPSHOT.jar /app.jar
ENV database.url=mysql:3306
ENV database.db=test
ENV spring.datasource.username=root
ENV spring.datasource.password=test

EXPOSE 9999
CMD ["java","-jar","app.jar"]